home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / share / debhelper / autoscripts / prerm-pyclean < prev    next >
Encoding:
Text File  |  2012-05-04  |  171 b   |  9 lines

  1. if which pyclean >/dev/null 2>&1; then
  2.     pyclean -p #PACKAGE# #ARGS#
  3. else
  4.     dpkg -L #PACKAGE# | grep \.py$ | while read file
  5.     do
  6.         rm -f "${file}"[co] >/dev/null
  7.       done
  8. fi
  9.